//7*：输出比10000大的10个质数
package ZUOYE0421;

public class 作业七 {

	public static void main(String[] args) {
		int num = 10000;
		boolean b = true;
		for (int shuliang = 0; shuliang < 10;) {
			for (int a = 1; a < (num - 1);) {
				a++;
				if (num % a == 0)
					b = false;
				continue;
			}
			if (b == false) {

			} else {
				System.out.println(num);
				shuliang++;
			}
			b = true;
			num++;

		}
	}

}
